<?php

/**
 * Created by PhpStorm.
 * User: panya
 * Date: 2017/7/23
 * Time: 下午9:25
 */
class test extends CI_Controller
{
    function index()
    {

        $this->output->enable_profiler(TRUE);
    }

    function tt(){
        $this->load->library('parser');
        $data = array(
            'blog_title' => 'My Blog Title',
            'blog_heading' => 'My Blog Heading',
            'blog_entries'=>'121212',
            'title'=>'1111',
            'body'=>'asdfasdfasdf',
            'blog_entries'=>'fsldfjklasdjfl的房间埃里克森的'
        );

        $this->parser->parse('test/blog_template', $data);

        $this->output->enable_profiler(TRUE);
    }
}

?>